package com.project.communitymanagement.controller;

import com.project.communitymanagement.common.BaseController;
import com.project.communitymanagement.entity.TbVaccine;
import com.project.communitymanagement.service.TbVaccineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ProjectName: epidemic-prevention-backend
 * @Package: com.project.communitymanagement.controller
 * @ClassName: TbVaccineController
 * @Author: "XGP"
 * @Description:
 * @Date: 2022/03/18 14:04
 * @Version: 1.0
 */
@RestController
@CrossOrigin
@RequestMapping("tbvaccine")
public class TbVaccineController extends BaseController<TbVaccineService, TbVaccine> {

    @Autowired
    private TbVaccineService tbvaccineService;

    @Override
    protected TbVaccineService service() {
        return tbvaccineService;
    }
}
